#include "permutation_combination_api.h"
#include "base_math.h"
#include <math.h>


uint64_t fact(int n) {
	uint64_t result = 1;
	int loop = 2;
	for (; loop <= n; loop++) {
		result *= loop;
	}
	return result;
}

